LEADTOOLS (Leadtools assembly)

CollectionChanged Event

Show in webframe







Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
Syntax
public event NotifyLeadCollectionChangedEventHandler CollectionChanged
'Declaration
 
Public Event CollectionChanged As NotifyLeadCollectionChangedEventHandler
'Usage
 
Dim instance As LeadCollection(Of T)
Dim handler As NotifyLeadCollectionChangedEventHandler
 
AddHandler instance.CollectionChanged, handler
public event NotifyLeadCollectionChangedEventHandler CollectionChanged

            

            
add_CollectionChanged(function(sender, e))
remove_CollectionChanged(function(sender, e))

public:
event NotifyLeadCollectionChangedEventHandler^ CollectionChanged
Event Data

The event handler receives an argument of type NotifyLeadCollectionChangedEventArgs containing data related to this event. The following NotifyLeadCollectionChangedEventArgs properties provide information specific to this event.

PropertyDescription
Action Gets the action that caused the event.
NewItems Gets the list of new items involved in the change.
NewStartingIndex Gets the 0-based index at which the change occurred.
OldItems Gets the list of old items involved in the change.
OldStartingIndex Gets the 0-based index at which a Move, Remove, or Replace action occurred.
Requirements

Target Platforms

See Also

Reference

LeadCollection<T> Class
LeadCollection<T> Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.